<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<c:set var="meeting" value="Meeting" />
<c:set var="participants" value="Participants" />
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title><c:out value="${sessionScope.Service}" /> <c:out value="${sessionScope.ServiceFragment}" /> | UMAS | The Universal Meeting Administration System</title>
        <link rel="stylesheet" href="/UMAS/css/UMASStyles.css" type="text/css">
        <link rel="stylesheet" href="/UMAS/css/chooserStyles.css" type="text/css">
        <script type="text/javascript" src="/UMAS/scripts/safeOnLoad.js"></script>
        <script type="text/javascript" src="/UMAS/scripts/UMASUtils.js"></script>
        <script type="text/javascript" src="/UMAS/scripts/addparticipants.js"></script>
    </head>
    <body id="umasMain">
        <form name="pagedata" id="pagedata" method="POST" action="/UMAS/do/<c:out value="${sessionScope.SubmitService}" />/<c:out value="${sessionScope.ServiceFragment}" />">
            <%@include file="../jspf/header.jspf" %>
            <div id="mainPane">
                <%@include file="../jspf/sidebar.jspf" %>
                <div id="contentPane">
                    <div id="titleB">
                        <h3><fmt:formatDate value="${sessionScope.date}" pattern="EEEE, d MMMM yyyy HH:mm:ss" /> </h3>
                    </div>
                    <div id="contentInner">
                        <c:choose>
                            <c:when test="${sessionScope.ServiceFragment == meeting}">
                                <input type="hidden" class="hidden" name="muid" id="muid" value="<c:out value="${sessionScope.attribute_meeting.id}" />">
                                <%@include file="update/meeting.jspf"%>
                            </c:when>
                            <c:when test="${sessionScope.ServiceFragment == participants}">
                                <input type="hidden" class="hidden" name="muid" id="muid" value="<c:out value="${sessionScope.attribute_meeting.id}" />">
                                <%@include file="update/participants.jspf" %> 
                            </c:when>
                        </c:choose>                                
                    </div>
                </div>
            </div>
            <%@include file="../jspf/footer.jspf" %>
        </form>
    </body>
</html>
